package cn.wolfcode.shop.service;

import cn.wolfcode.shop.vo.SeckillGoodVo;

import java.util.List;

public interface ISeckillGoodService {

    List<SeckillGoodVo> query();

    SeckillGoodVo find(Long seckillGoodId);

    int reduceStock(Long seckillGoodId);

    List<SeckillGoodVo> queryByCache();

    void syncStock(Long seckilGoodId);

    void incrStock(Long seckillGoodId);
}
